//
//  SearchToolView.h
//  YCH
//
//  Created by apple on 26/07/2019.
//  Copyright © 2019 KN. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol SearchToolViewDelegate <NSObject>

@optional

//搜索bar点击
- (void)SearchToolViewDidSearch:(NSString *)content;

@end


//导航栏上面放一个搜索bar，实际搜索样式
@interface SearchToolView : UIView

@property (nonatomic, weak) id<SearchToolViewDelegate> delegate;

//关键字
@property (nonatomic, strong) NSString *keyword;

@end

NS_ASSUME_NONNULL_END
